/**
 * Steps 组件的主题配置
 */

import type { ComponentToken } from 'antd/es/steps/style';

export const stepsThemeConfig: Partial<ComponentToken> = {
  titleLineHeight: 1.5714285714285714,
  customIconSize: 32,
  customIconTop: 0,
  customIconFontSize: 24,
  iconSize: 32,
  iconTop: -0.5,
  iconFontSize: 16,
  iconSizeSM: 24,
  dotSize: 8,
  dotCurrentSize: 10,
  navArrowColor: 'rgba(0, 0, 0, 0.25)' as any,
  navContentMaxWidth: 'auto' as any,
  descriptionMaxWidth: 140,
};

export const getStepsTheme = (
  customConfig?: Partial<ComponentToken>
): Partial<ComponentToken> => {
  return {
    ...stepsThemeConfig,
    ...customConfig,
  };
};

export type { ComponentToken as StepsComponentToken } from 'antd/es/steps/style';

